import requests

def download_file(url, destination):
    response = requests.get(url)
    if response.status_code == 200:
        with open(destination, 'wb') as file:
            file.write(response.content)
        print("File downloaded successfully!")
    else:
        print("Failed to download file.")

# Example usage:
file_url = "https://example.com/path/to/remote_file.txt"
save_path = "/path/to/save/file.txt"

download_file(file_url, save_path)
